
 /**
 * 上海中赢金融信息服务有限公司
 * Copyright (c) 2017, chinazyjr All Rights Reserved.
 */
package com.sys.kafka.config;


 /**
 * <b>Description：</b> TODO <br/>
 * <b>ClassName：</b> ProducerFactory <br/>
 * <b>@author：</b> mobing <br/>
 * <b>@date：</b> 2017年7月13日 下午4:03:01 <br/>
 * <b>@version: </b>  <br/>
 */
public class KafkaConfig4Producer {
    private int batch_size;
    private int retries;
    private String acks;
    private long linger_ms;
    private long buffer_memory;
    private boolean block_on_buffer_full;
    private long timeout_ms;
    private long reconnect_backoff_ms;
    private String key_serializer;
    private String value_serializer;
    /**
     * batch_size
     *
     * @return  the batch_size
     */
    
    public int getBatch_size() {
        return batch_size;
    }
    /**
     * @param batch_size the batch_size to set
     */
    public void setBatch_size(int batch_size) {
        this.batch_size = batch_size;
    }
    /**
     * retries
     *
     * @return  the retries
     */
    
    public int getRetries() {
        return retries;
    }
    /**
     * @param retries the retries to set
     */
    public void setRetries(int retries) {
        this.retries = retries;
    }
    /**
     * acks
     *
     * @return  the acks
     */
    
    public String getAcks() {
        return acks;
    }
    /**
     * @param acks the acks to set
     */
    public void setAcks(String acks) {
        this.acks = acks;
    }
    /**
     * linger_ms
     *
     * @return  the linger_ms
     */
    
    public long getLinger_ms() {
        return linger_ms;
    }
    /**
     * @param linger_ms the linger_ms to set
     */
    public void setLinger_ms(long linger_ms) {
        this.linger_ms = linger_ms;
    }
    /**
     * buffer_memory
     *
     * @return  the buffer_memory
     */
    
    public long getBuffer_memory() {
        return buffer_memory;
    }
    /**
     * @param buffer_memory the buffer_memory to set
     */
    public void setBuffer_memory(long buffer_memory) {
        this.buffer_memory = buffer_memory;
    }
    /**
     * block_on_buffer_full
     *
     * @return  the block_on_buffer_full
     */
    
    public boolean isBlock_on_buffer_full() {
        return block_on_buffer_full;
    }
    /**
     * @param block_on_buffer_full the block_on_buffer_full to set
     */
    public void setBlock_on_buffer_full(boolean block_on_buffer_full) {
        this.block_on_buffer_full = block_on_buffer_full;
    }
    /**
     * timeout_ms
     *
     * @return  the timeout_ms
     */
    
    public long getTimeout_ms() {
        return timeout_ms;
    }
    /**
     * @param timeout_ms the timeout_ms to set
     */
    public void setTimeout_ms(long timeout_ms) {
        this.timeout_ms = timeout_ms;
    }
    /**
     * reconnect_backoff_ms
     *
     * @return  the reconnect_backoff_ms
     */
    
    public long getReconnect_backoff_ms() {
        return reconnect_backoff_ms;
    }
    /**
     * @param reconnect_backoff_ms the reconnect_backoff_ms to set
     */
    public void setReconnect_backoff_ms(long reconnect_backoff_ms) {
        this.reconnect_backoff_ms = reconnect_backoff_ms;
    }
    /**
     * key_serializer
     *
     * @return  the key_serializer
     */
    
    public String getKey_serializer() {
        return key_serializer;
    }
    /**
     * @param key_serializer the key_serializer to set
     */
    public void setKey_serializer(String key_serializer) {
        this.key_serializer = key_serializer;
    }
    /**
     * value_serializer
     *
     * @return  the value_serializer
     */
    
    public String getValue_serializer() {
        return value_serializer;
    }
    /**
     * @param value_serializer the value_serializer to set
     */
    public void setValue_serializer(String value_serializer) {
        this.value_serializer = value_serializer;
    }
    
    
}
